﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _110_protected关键字测试
{
    class Sparrow : Bird
    {
        void SparrowFunc()
        {
            Console.WriteLine(animalName); //两层继承也能调用protected
        }
    }
}
